﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020000E1 RID: 225
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BAEJDHMJMKC : IMessage<BAEJDHMJMKC>, IMessage, IEquatable<BAEJDHMJMKC>, IDeepCloneable<BAEJDHMJMKC>, IBufferMessage
	{
		// Token: 0x17000301 RID: 769
		// (get) Token: 0x06000A4C RID: 2636 RVA: 0x0001E985 File Offset: 0x0001CB85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BAEJDHMJMKC> Parser
		{
			get
			{
				return BAEJDHMJMKC._parser;
			}
		}

		// Token: 0x17000302 RID: 770
		// (get) Token: 0x06000A4D RID: 2637 RVA: 0x0001E98C File Offset: 0x0001CB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BAEJDHMJMKCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000303 RID: 771
		// (get) Token: 0x06000A4E RID: 2638 RVA: 0x0001E99E File Offset: 0x0001CB9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BAEJDHMJMKC.Descriptor;
			}
		}

		// Token: 0x06000A4F RID: 2639 RVA: 0x0001E9A5 File Offset: 0x0001CBA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEJDHMJMKC()
		{
		}

		// Token: 0x06000A50 RID: 2640 RVA: 0x0001E9B0 File Offset: 0x0001CBB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEJDHMJMKC(BAEJDHMJMKC other) : this()
		{
			this.mapId_ = other.mapId_;
			this.rogueFinishInfo_ = ((other.rogueFinishInfo_ != null) ? other.rogueFinishInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000A51 RID: 2641 RVA: 0x0001E9FC File Offset: 0x0001CBFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BAEJDHMJMKC Clone()
		{
			return new BAEJDHMJMKC(this);
		}

		// Token: 0x17000304 RID: 772
		// (get) Token: 0x06000A52 RID: 2642 RVA: 0x0001EA04 File Offset: 0x0001CC04
		// (set) Token: 0x06000A53 RID: 2643 RVA: 0x0001EA0C File Offset: 0x0001CC0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x17000305 RID: 773
		// (get) Token: 0x06000A54 RID: 2644 RVA: 0x0001EA15 File Offset: 0x0001CC15
		// (set) Token: 0x06000A55 RID: 2645 RVA: 0x0001EA1D File Offset: 0x0001CC1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueFinishInfo RogueFinishInfo
		{
			get
			{
				return this.rogueFinishInfo_;
			}
			set
			{
				this.rogueFinishInfo_ = value;
			}
		}

		// Token: 0x06000A56 RID: 2646 RVA: 0x0001EA26 File Offset: 0x0001CC26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BAEJDHMJMKC);
		}

		// Token: 0x06000A57 RID: 2647 RVA: 0x0001EA34 File Offset: 0x0001CC34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BAEJDHMJMKC other)
		{
			return other != null && (other == this || (this.MapId == other.MapId && object.Equals(this.RogueFinishInfo, other.RogueFinishInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000A58 RID: 2648 RVA: 0x0001EA84 File Offset: 0x0001CC84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this.rogueFinishInfo_ != null)
			{
				num ^= this.RogueFinishInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000A59 RID: 2649 RVA: 0x0001EAD9 File Offset: 0x0001CCD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000A5A RID: 2650 RVA: 0x0001EAE1 File Offset: 0x0001CCE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000A5B RID: 2651 RVA: 0x0001EAEC File Offset: 0x0001CCEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MapId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.MapId);
			}
			if (this.rogueFinishInfo_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000A5C RID: 2652 RVA: 0x0001EB48 File Offset: 0x0001CD48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this.rogueFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000A5D RID: 2653 RVA: 0x0001EBA0 File Offset: 0x0001CDA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BAEJDHMJMKC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			if (other.rogueFinishInfo_ != null)
			{
				if (this.rogueFinishInfo_ == null)
				{
					this.RogueFinishInfo = new RogueFinishInfo();
				}
				this.RogueFinishInfo.MergeFrom(other.RogueFinishInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000A5E RID: 2654 RVA: 0x0001EC08 File Offset: 0x0001CE08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000A5F RID: 2655 RVA: 0x0001EC14 File Offset: 0x0001CE14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueFinishInfo_ == null)
						{
							this.RogueFinishInfo = new RogueFinishInfo();
						}
						input.ReadMessage(this.RogueFinishInfo);
					}
				}
				else
				{
					this.MapId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000428 RID: 1064
		private static readonly MessageParser<BAEJDHMJMKC> _parser = new MessageParser<BAEJDHMJMKC>(() => new BAEJDHMJMKC());

		// Token: 0x04000429 RID: 1065
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400042A RID: 1066
		public const int MapIdFieldNumber = 10;

		// Token: 0x0400042B RID: 1067
		private uint mapId_;

		// Token: 0x0400042C RID: 1068
		public const int RogueFinishInfoFieldNumber = 11;

		// Token: 0x0400042D RID: 1069
		private RogueFinishInfo rogueFinishInfo_;
	}
}
